home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 1998 June
/
SGI Freeware 1998 June.iso
/
dist
/
fw_UMINNgopher.idb
/
usr
/
freeware
/
src
/
gopher_1.12
/
gopherd
/
wais.h.z
/
wais.h
Wrap
C/C++ Source or Header
|
1997-09-09
|
2KB
|
100 lines
/********************************************************************
* $Author: drich $
* $Revision: 1.1 $
* $Date: 1995/10/03 04:08:44 $
* $Source: /proj/freeware1.0/gopher1.12/src/gopherd/RCS/wais.h,v $
* $Status: $
*
* Paul Lindner, University of Minnesota CIS.
*
* Copyright 1991, 1992 by the Regents of the University of Minnesota
* see the file "Copyright" in the distribution for conditions of use.
*********************************************************************
* MODULE: wais.h
* Header file for Wais stuff.
*********************************************************************
* Revision History:
* $Log: wais.h,v $
* Revision 1.1 1995/10/03 04:08:44 drich
* gopher 1.2 check-in
*
* Revision 1.1 1992/12/10 23:13:27 lindner
* gopher 1.1 release
*
*
*********************************************************************/
/* WIDE AREA INFORMATION SERVER SOFTWARE:
No guarantees or restrictions. See the readme file for the full standard
disclaimer.
This is part of the shell user-interface for the WAIS software. Do with it
as you please.
jonathan@Think.COM
* $Log: wais.h,v $
* Revision 1.1 1995/10/03 04:08:44 drich
* gopher 1.2 check-in
*
* Revision 1.1 1992/12/10 23:13:27 lindner
* gopher 1.1 release
*
* Revision 1.6 92/02/15 19:50:24 jonathan
* Removed old cruft. Added $Log for RCS
*
*/
#ifndef _H_WAIS
#define _H_WAIS
/* usefull definitions */
#define STRINGSIZE 256
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
/* from the IR directory */
#include <cutil.h>
/*#include <irdirent.h>*/
#include <ui.h>
#include <irfileio.h>
#include <sockets.h>
FILE *connect_to_server _AP((char* host_name,long port));
/* for this application */
#include "../ui/list.h"
#include "source.h"
#include "document.h"
#include "../ui/util.h"
#include "question.h"
#define CHARS_PER_PAGE 2000
#ifdef MAIN
#define ext
#else
#define ext extern
#endif
ext char* command_name;
ext int numtosave;
ext int NumQuestions;
ext Question the_Question;
ext SList Sources;
ext int NumSources;
ext int maxDocs;
#endif